/**
    ATClab - scriptable Air Traffic Control simulations.
    Copyright (C) 2010 openatclab@gmail.com

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
**/

#ifndef __ATC_SECTORARCSPRITE_HDR__
#define __ATC_SECTORARCSPRITE_HDR__


#include <q3canvas.h>
#include "canvas_types.h"
#include <stdexcept>


namespace atc{


	/*!
	 * \struct sectorarcsprite_error
	 */
	struct sectorarcsprite_error : public std::runtime_error{
		sectorarcsprite_error(const std::string& msg) 
			:std::runtime_error(msg)
		{}
	};


	/*!
	 * \class atc::SectorArcSprite atc_sectorarcsprite.h
	 */
	class SectorArcSprite : public Q3CanvasLine 	{

	public: 
		SectorArcSprite( Q3Canvas * );
		~SectorArcSprite();

	public: // [virtual]
		int rtti()const { return CanvasItem::RTTI_SECTORARC; }

	private:

	};

};

#endif
